package com.typing.service;

import com.typing.entity.AdminEntity;

public interface AdminService {
	/**
	 * 管理员登录
	 *
	 * @param admin
	 * @return
	 */
	AdminEntity adminLogin(AdminEntity admin);

	/**
	 * 添加管理员
	 *
	 * @param admin
	 * @return
	 */
	int addAdmin(AdminEntity admin);

	/**
	 * 查看是否注册
	 *
	 * @param admin
	 * @return
	 */
	AdminEntity isRegister(AdminEntity admin);

	/**
	 * 获取新的管理员信息
	 *
	 * @param admin
	 * @return
	 */
	AdminEntity getNewAdmin(AdminEntity admin);

	/**
	 * 设置tag值
	 *
	 * @param admin
	 * @return
	 */
	int setTag(AdminEntity admin);

	/**
	 * 查询tag值
	 *
	 * @param tag
	 * @return
	 */
	AdminEntity selectTag(String tag);


}
